From: Alexandre Emsenhuber Date: Sun, 20 Dec 2009 15:08:26 +0000 (+0000) Subject: Fix OutputPage::addReturnTo() and OutputPage::returnToMain()'s documentation X-Git-Tag: 1.31.0-rc.0~38501 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=daeb4f3be258dfd6a35ca380480c9d02faa8bcd9;p=lhc%2Fweb%2Fwiklou.git Fix OutputPage::addReturnTo() and OutputPage::returnToMain()'s documentation --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 3be8a74e0d..d6b72c73de 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1514,8 +1514,8 @@ class OutputPage { /** * Add a "return to" link pointing to a specified title * - * @param Title $title Title to link - * @param string $query Query string + * @param $title Title to link + * @param $query String: query string */ public function addReturnTo( $title, $query = array() ) { global $wgUser; @@ -1529,8 +1529,9 @@ class OutputPage { * Add a "return to" link pointing to a specified title, * or the title indicated in the request, or else the main page * - * @param null $unused No longer used - * @param Title $returnto Title to return to + * @param $unused No longer used + * @param $returnto Title or String to return to + * @param $returntoquery String: query string for the return to link */ public function returnToMain( $unused = null, $returnto = null, $returntoquery = null ) { global $wgRequest;